package com.inoneone.youba.mcht.util;

public class VertifyEnums {
	public static enum MerchantParams {
		OPENID_ERROR("1001", "微信openid为空"),
		MCHTNAME_ERROR("1002", "商户名称为空"),
		MCHTTYPE_ERROR("1003","商家主体类型不合法"),
		PHONE_ERROR("1004","商家联系电话为空"),
		MCHTID_ERROR("1005","商家id为空"),
		PASSWORD_ERROR("1006","密码不能为空");
		String code;
		String message;

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getMessage() {
			return message;
		}

		public void setMessage(String message) {
			this.message = message;
		}

		MerchantParams(String code, String message) {
			this.code = code;
			this.message = message;
		}
	}
	public static enum CardParams{
		USERNAME_ERROR("2001","用户名为空"),
		PHONE_ERROR("2002","用户手机号码为空"),
		MCHTID_ERROR("2003","商户编码为空"),
		SECRETKEY_ERROR("2004","IC卡密钥为空"),
		CARDID_ERROR("2005","IC卡IC为空"),
		AMOUNT_ERROR("2006","金额不合符约定"),
		PASSWORD_ERROR("2007","支付密码为空");
		String code;
		String message;

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getMessage() {
			return message;
		}

		public void setMessage(String message) {
			this.message = message;
		}

		CardParams(String code, String message) {
			this.code = code;
			this.message = message;
		}
	}
}
